<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="Welcome!" ></h:outputText>
        </ui:define>
        <ui:define name="body">
            You're logged in as #{loginController.user.userid}
            <h:form>
                <h:commandLink action="#{loginController.logout}" value="Logout"/>
            </h:form>
            Hello from Facelets
            <h:form>
                <h:commandLink action="/account/List" value="Show All Account Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/biller/List" value="Show All Biller Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/financialStatement/List" value="Show All FinancialStatement Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/financialTransaction/List" value="Show All FinancialTransaction Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/user/List" value="Show All User Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/userGroup/List" value="Show All UserGroup Items"/>
            </h:form>
        </ui:define>
    </ui:composition>
</html>

